package com.wxmblog.photo.common.rest.request.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxmblog.base.file.annotation.FileSave;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @program: fast
 * @description:
 * @author: Mr.Wang
 * @create: 2023-06-28 16:23
 **/

@Data
public class UserEditRequest {

    /**
     * 头像
     */
    @FileSave(table = "fr_user", field = "head_portrait",tokenId = true)
    @ApiModelProperty(value = "头像")
    private String headPortrait;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    @NotBlank
    private String nickName;
}
